package biz

import (
	"context"

	"github.com/google/wire"
)

// ProviderSet is biz providers.
var ProviderSet = wire.NewSet(
	NewPermissionUsecase,
	NewMenuUsecase,
	NewButtonUsecase,
	NewRoleUsecase,
	NewCustomerUsecase,
	NewRecordUsecase,
)

type PolicyRepo interface {
	AddPolicies(context.Context, [][]string, [][]string) error
	RemovePolicies(context.Context, [][]string, [][]string) error
	SavePolicies(context.Context) error
}
